package ooday01;

/*
构建方法的类
 */
public class ConsDemoTest {
    public static void main(String[] args) {
        Student st = new Student("张三", 18, "jsd2408", "10086");
        st.play();
        st.saHi();
        st.playWith("小明");
        System.out.println("===================================");


        Student li = new Student("王二麻子", 33, "jsd2408", "10086");
        li.play();
        li.playWith("小光");
        System.out.println("==================================");


        Student zg = new Student();
        zg.play();
        zg.saHi();
        zg.playWith("小刘");

    }
}
